<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格标签练习</title>
</head>
<body>
<table border="1" cellspacing="0">
    <tr>
        <td colspan="2" align="center">1</td>
        <!--            <td>2</td>-->
        <td>3</td>
    </tr>
    <tr>
        <td rowspan="2">4</td>
        <td>5</td>
        <td>6</td>
    </tr>
    <tr>
        <!--            <td>7</td>-->
        <td>8</td>
        <td>9</td>
    </tr>
    <tr>
        <td colspan="3">10</td>
        <!--            <td>11</td>-->
        <!--            <td>12</td>-->
    </tr>
</table>

<table border="1" cellspacing="0">
    <tr>
        <td rowspan="2"></td>
        <td colspan="2"></td>
    </tr>
    <tr>
        <td></td>
        <td rowspan="2"></td>
    </tr>
    <tr>
        <td colspan="2"></td>
    </tr>
</table>

<table border="1" cellspacing="0">
    <caption>商品标题</caption>
    <tr>
        <th>编号</th>
        <th>名称</th>
        <th>价格</th>
        <th>库存</th>
    </tr>
    <tr>
        <td>1</td>
        <td>华为手机</td>
        <td>8999</td>
        <td>100</td>
    </tr>
    <tr>
        <td>2</td>
        <td>小米手机</td>
        <td>2</td>
        <td>2</td>
    </tr>
</table>
</body>
</html>